package com.ly.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "thread.pool.executor",ignoreInvalidFields = true)
public class ThreadPoolConfigProperties {
    private Integer corePoolSize=20;
    private Integer maxPoolSize=200;
    private Long keepAliveTime=10L;
    private Integer blockQueueSize=5000;
    private String policy="CallerRunsPolicy";
}
